<template>
  <div id="app">
    <h2>测试题</h2>
    <subject
      v-for="(item, index) in [0, 0, 0, 0, 0]"
      :key="index"
      :index="index"
    ></subject>
    <div>
      <flag
        v-for="(item, index) in [0, 0, 0, 0, 0]"
        :key="index"
        :index="index"
      ></flag>
    </div>
  </div>
</template>

<script>
import subject from "./components/Subject";
import flag from "./components/Flag";
export default {
  components: {
    subject,
    flag,
  },
  data() {
    return {};
  },
};
</script>

<style>
body {
  background-color: #eee;
}

#app {
  background-color: #fff;
  width: 500px;
  margin: 50px auto;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  padding: 2em;
}
</style>